﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MacNicknameList.aspx.cs" Inherits="JzSport.WebApp.Module_APP_AD.MacNicknameList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <label>OS:</label>
            <asp:DropDownList ID="ctlListOS" runat="server">
                <asp:ListItem Text="android" Value="android" />
            </asp:DropDownList>
        </div>
        <div>
            <label>MAC:</label><asp:TextBox ID="ctlEditMAC" runat="server"></asp:TextBox>
        </div>
        <div>
            <label>Name:</label><asp:TextBox ID="ctlEditName" runat="server"></asp:TextBox>
        </div>
        <div>
            <asp:Button ID="ctlBtnCreate" runat="server" Text="Create" OnClick="ctlBtnCreate_Click" />
            <asp:Button ID="ctlBtnQuery" runat="server" Text="Query" OnClick="ctlBtnQuery_Click" />
        </div>
        <div>
            <table id="tab1" border="1" style="width: 100%" class="table">
                <tr>
                    <th>OS
                    </th>
                    <th>Mac
                    </th>
                    <th>Name
                    </th>
                </tr>
                <asp:Repeater ID="_ctlList" runat="server">
                    <HeaderTemplate>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td><%#Eval("OS") %></td>
                            <td><%#Eval("MAC") %></td>
                            <td><%#Eval("Name") %></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:Repeater>
            </table>
        </div>
    </form>
</body>
</html>
